<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

return [
    // 生成应用公共文件
    '__file__' => ['common.php', 'config.php', 'database.php'],

    'SuperAdmin'     => [
        '__file__'   => ['common.php'],
        '__dir__'    => ['behavior', 'controller', 'model', 'view'],
        'controller' => ['AdminController', 'ClubsController', 'UsersController','ActivitiesController','MasterController','MatchController','ExercisesController','ShaituController','EnrollController','SowingmapController'],
        'model'      => ['AdminModel', 'ClubsModel','UsersModel','ActivitiesModel','MasterModel','VideoModel','MatchModel','EnrollModel','ExercisesModel','ShaituModel','DiscussionModel','ReplyModel','SowingmapModel'],
        'view'       => ['AdminController/login','AdminController/index','ClubsController/clubs','UsersController/users','ActivitiesController/activities','MasterController/masters','MatchController/match','EcercisesController/exercises','ShaituController/shaitu','SowingmapController/sowingmap'],
    ],
    'ClubAdmin'     => [
        '__file__'   => ['common.php'],
        '__dir__'    => ['behavior', 'controller', 'model', 'view'],
        'controller' => ['ClubController','LessonsController','VideosController','TrainersController','BuyController'],
        'model'      => ['ClubsModel', 'LessonsModel','VideosModel','TrainersModel','BuyModel'],
        'view'       => ['ClubController/login','ClubController/index','LessonsController/lessons','VideosController/videos','TrainersController/trainers','BuyController/buy'],
    ],
    // 其他更多的模块定义
];
